package com.sunny.tree.service;

import com.sunny.tree.model.Tree;

import java.util.List;

/**
 * Created by tongchengke on 2016/8/17.
 */
public interface TreeService {
    int deleteByPrimaryKey(Long id);

    int insert(Tree record);

    int insertSelective(Tree record);

    Tree selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Tree record);

    int updateByPrimaryKeyWithBLOBs(Tree record);

    int updateByPrimaryKey(Tree record);

    List<Tree> selectTreeByPid(Tree record);
}
